<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<form id="pagerForm" action=courierAreaMapListup>
	<div id="chedkBoxValues" style="display: none"></div>
	<input type="hidden" name="status" value="${param.status}"> 
	<input type="hidden" name="keywords" value="${param.keywords}" />
	 <input type="hidden" name="pageNum" value="${page.currentPage }" /> 
	 <input type="hidden" name="pageSize" value="${page.pageSize }" />
	 <input type="hidden" name="name" value="${name}" />
</form>

<div class="pageHeader">
	<form onsubmit="return dwzSearch(this, 'dialog');" action="courierAreaMapListup" method="post">
		<div class="pageHeader">
			<input type="hidden" name="init" value=0>
			<div class="searchBar">
				<table class="searchContent">
					<tr>
						<td>区域关键字: <input type="text" name="name" value="${name}"/>
						</td>
					</tr>
				</table>
				<div class="subBar">
					<ul>
						<li>
							<div class="buttonActive">
								<div class="buttonContent">
									<button type="submit">检索</button>
								</div>
							</div>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</form>
</div>
<div class="pageContent">
	<table class="list" layoutH="118" targetType="dialog" width="100%">
		<thead>
			<tr>
				<th align="center">序号</th>
				<th align="center">工作区域名称</th>
				<th align="center">选择</th>
			</tr>
		</thead>
		<tbody>
			<s:iterator var="courierAreaMap" value="page.data" status="st">
				<tr target="sid_support" rel="<s:property value="#courierAreaMap.id" />">
					<th width="2%" align="center"><s:property value="page.pageSize * (page.currentPage-1) + #st.index + 1" /></th>
					<th width="9%" align="left"><s:property value="#courierAreaMap.areaName" />
					<th width="5%" align="center"><a class="btnSelect" href="javascript:$.bringBack({areaName:'<s:property value="#courierAreaMap.areaName" />',areaId:'<s:property value="#courierAreaMap.id" />'})" title="选择该区域">选择</a></th>
				</tr>
			</s:iterator>
		</tbody>
	</table>

	<div class="panelBar">
		<div class="pages">
			<span>共${page.totalNum }条，共${page.totalPage }页</span>
		</div>
		<div class="pagination" targetType="dialog" totalCount="${page.totalNum }" numPerPage="${page.pageSize }" pageNumShown="10" currentPage="${page.currentPage }"></div>
	</div>
</div>

